<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>IDA SDK: insn_t Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">IDA SDK
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="files.html"><span>Header&#160;Files</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classinsn__t-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">insn_t Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a44ca1931c490f50b866f38be884b7088"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44ca1931c490f50b866f38be884b7088"></a>
<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a44ca1931c490f50b866f38be884b7088">cs</a></td></tr>
<tr class="memdesc:a44ca1931c490f50b866f38be884b7088"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current segment base paragraph. Initialized by the kernel. <br /></td></tr>
<tr class="separator:a44ca1931c490f50b866f38be884b7088"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fbcacdc71b94dc291138591e317da01"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a9fbcacdc71b94dc291138591e317da01">ip</a></td></tr>
<tr class="memdesc:a9fbcacdc71b94dc291138591e317da01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual address of the instruction (address within the segment).  <a href="#a9fbcacdc71b94dc291138591e317da01">More...</a><br /></td></tr>
<tr class="separator:a9fbcacdc71b94dc291138591e317da01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b331560b7f026c120373ca574c2889"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a68b331560b7f026c120373ca574c2889">ea</a></td></tr>
<tr class="memdesc:a68b331560b7f026c120373ca574c2889"><td class="mdescLeft">&#160;</td><td class="mdescRight">Linear address of the instruction.  <a href="#a68b331560b7f026c120373ca574c2889">More...</a><br /></td></tr>
<tr class="separator:a68b331560b7f026c120373ca574c2889"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad5d7fad54a9394febd8ed0cda1f85f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#aad5d7fad54a9394febd8ed0cda1f85f0">itype</a></td></tr>
<tr class="memdesc:aad5d7fad54a9394febd8ed0cda1f85f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal code of instruction (only for canonical insns - not user defined!).  <a href="#aad5d7fad54a9394febd8ed0cda1f85f0">More...</a><br /></td></tr>
<tr class="separator:aad5d7fad54a9394febd8ed0cda1f85f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3c2b72b27e268eeb2d55bdcbcdbd2b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#ac3c2b72b27e268eeb2d55bdcbcdbd2b9">size</a></td></tr>
<tr class="memdesc:ac3c2b72b27e268eeb2d55bdcbcdbd2b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Size of instruction in bytes.  <a href="#ac3c2b72b27e268eeb2d55bdcbcdbd2b9">More...</a><br /></td></tr>
<tr class="separator:ac3c2b72b27e268eeb2d55bdcbcdbd2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7375224710c4827b0961e57393d63fc3"><td class="memItemLeft" ><a class="anchor" id="a7375224710c4827b0961e57393d63fc3"></a>
union {</td></tr>
<tr class="memitem:af8cdac8b9bff6fdf38e31f2f49a9b107"><td class="memItemLeft" >
&#160;&#160;&#160;<a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;&#160;&#160;<a class="el" href="classinsn__t.html#a2fd28adb7d6f9471da1215958b5987ca">auxpref</a></td></tr>
<tr class="memdesc:af8cdac8b9bff6fdf38e31f2f49a9b107"><td class="mdescLeft">&#160;</td><td class="mdescRight">processor dependent field <br /></td></tr>
<tr class="separator:af8cdac8b9bff6fdf38e31f2f49a9b107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e7cfb12ef7cb61eedf4a314c9d3c95b"><td class="memItemLeft" >
&#160;&#160;&#160;<a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;&#160;&#160;<b>auxpref_u16</b> [2]</td></tr>
<tr class="separator:a4e7cfb12ef7cb61eedf4a314c9d3c95b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0c56177ef5f1c72a885a99296ba2db6"><td class="memItemLeft" >
&#160;&#160;&#160;<a class="el" href="pro_8h.html#adde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;&#160;&#160;<b>auxpref_u8</b> [4]</td></tr>
<tr class="separator:aa0c56177ef5f1c72a885a99296ba2db6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7375224710c4827b0961e57393d63fc3"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="separator:a7375224710c4827b0961e57393d63fc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9ae02107cac0f62feae2f648b163ffb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9ae02107cac0f62feae2f648b163ffb"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#aa9ae02107cac0f62feae2f648b163ffb">segpref</a></td></tr>
<tr class="memdesc:aa9ae02107cac0f62feae2f648b163ffb"><td class="mdescLeft">&#160;</td><td class="mdescRight">processor dependent field <br /></td></tr>
<tr class="separator:aa9ae02107cac0f62feae2f648b163ffb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8e07bbf23c56dbb2b0a544302c8463c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8e07bbf23c56dbb2b0a544302c8463c"></a>
char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#af8e07bbf23c56dbb2b0a544302c8463c">insnpref</a></td></tr>
<tr class="memdesc:af8e07bbf23c56dbb2b0a544302c8463c"><td class="mdescLeft">&#160;</td><td class="mdescRight">processor dependent field <br /></td></tr>
<tr class="separator:af8e07bbf23c56dbb2b0a544302c8463c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad665c6e37e937f98db8ef08091ecf3e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad665c6e37e937f98db8ef08091ecf3e3"></a>
<a class="el" href="pro_8h.html#a4355d16fcf9f644c9ac84293f0b1801f">int16</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#ad665c6e37e937f98db8ef08091ecf3e3">flags</a></td></tr>
<tr class="memdesc:ad665c6e37e937f98db8ef08091ecf3e3"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="group___i_n_s_n__.html">Instruction flags</a> <br /></td></tr>
<tr class="separator:ad665c6e37e937f98db8ef08091ecf3e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a04187abcf0b3a96862be2aec46a61f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a04187abcf0b3a96862be2aec46a61f"></a>
<a class="el" href="classop__t.html">op_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a2a04187abcf0b3a96862be2aec46a61f">ops</a> [<a class="el" href="ida_8hpp.html#ae2018a7cee04a8a790fc5fc445fb473a">UA_MAXOP</a>]</td></tr>
<tr class="memdesc:a2a04187abcf0b3a96862be2aec46a61f"><td class="mdescLeft">&#160;</td><td class="mdescRight">array of operands <br /></td></tr>
<tr class="separator:a2a04187abcf0b3a96862be2aec46a61f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1106f93744fe055e064c6935f97fe0bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1106f93744fe055e064c6935f97fe0bd"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a1106f93744fe055e064c6935f97fe0bd">is_canon_insn</a> (void) const </td></tr>
<tr class="memdesc:a1106f93744fe055e064c6935f97fe0bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="structprocessor__t.html#ad58c2a400e68a56e9299338aab2b2029" title="Does the given value specify a valid instruction for this instruction set?. ">processor_t::is_canon_insn()</a> <br /></td></tr>
<tr class="separator:a1106f93744fe055e064c6935f97fe0bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e17245ed6ab2694e78455227d834fba"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e17245ed6ab2694e78455227d834fba"></a>
<a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a8e17245ed6ab2694e78455227d834fba">get_canon_feature</a> (void) const </td></tr>
<tr class="memdesc:a8e17245ed6ab2694e78455227d834fba"><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="structinstruc__t.html#a6fc6925bdc9bbca7b8c54ec2c5333810" title="combination of Instruction feature bits ">instruc_t::feature</a> <br /></td></tr>
<tr class="separator:a8e17245ed6ab2694e78455227d834fba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3095c162d87632f8c95e62abc08ed2cb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3095c162d87632f8c95e62abc08ed2cb"></a>
const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a3095c162d87632f8c95e62abc08ed2cb">get_canon_mnem</a> (void) const </td></tr>
<tr class="memdesc:a3095c162d87632f8c95e62abc08ed2cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="structinstruc__t.html#a75b7efa4c0d41785a0fa0e9923aaaa83" title="instruction name ">instruc_t::name</a> <br /></td></tr>
<tr class="separator:a3095c162d87632f8c95e62abc08ed2cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43886e62deaa4d17b1ed517c0f2ada55"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43886e62deaa4d17b1ed517c0f2ada55"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a43886e62deaa4d17b1ed517c0f2ada55">is_macro</a> (void) const </td></tr>
<tr class="memdesc:a43886e62deaa4d17b1ed517c0f2ada55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Is a macro instruction? <br /></td></tr>
<tr class="separator:a43886e62deaa4d17b1ed517c0f2ada55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga092b82ad35c97df5541f8f7b59c5720f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_k_v_a_r__2.html#ga092b82ad35c97df5541f8f7b59c5720f">add_cref</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> to, int opoff, <a class="el" href="group__xref__type.html#ga44e2b79869a9595bbe6265ff2026aa98">cref_t</a> type) const </td></tr>
<tr class="memdesc:ga092b82ad35c97df5541f8f7b59c5720f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a code cross-reference from the instruction.  <a href="group___s_t_k_v_a_r__2.html#ga092b82ad35c97df5541f8f7b59c5720f">More...</a><br /></td></tr>
<tr class="separator:ga092b82ad35c97df5541f8f7b59c5720f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga498f6c9430345fbbcda11d8fcd108deb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_k_v_a_r__2.html#ga498f6c9430345fbbcda11d8fcd108deb">add_dref</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> to, int opoff, <a class="el" href="group__xref__type.html#ga78aab6d0d6bd9cb4904bbdbb5ac4fa71">dref_t</a> type) const </td></tr>
<tr class="memdesc:ga498f6c9430345fbbcda11d8fcd108deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a data cross-reference from the instruction.  <a href="group___s_t_k_v_a_r__2.html#ga498f6c9430345fbbcda11d8fcd108deb">More...</a><br /></td></tr>
<tr class="separator:ga498f6c9430345fbbcda11d8fcd108deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9adc3c8e4695148f4892253ea1b067ff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___s_t_k_v_a_r__2.html#ga9adc3c8e4695148f4892253ea1b067ff">add_off_drefs</a> (const <a class="el" href="classop__t.html">op_t</a> &amp;x, <a class="el" href="group__xref__type.html#ga78aab6d0d6bd9cb4904bbdbb5ac4fa71">dref_t</a> type, int outf) const </td></tr>
<tr class="memdesc:ga9adc3c8e4695148f4892253ea1b067ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add xrefs for an operand of the instruction.  <a href="group___s_t_k_v_a_r__2.html#ga9adc3c8e4695148f4892253ea1b067ff">More...</a><br /></td></tr>
<tr class="separator:ga9adc3c8e4695148f4892253ea1b067ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Analysis helpers</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>The following functions return the next byte, 2 bytes, 4 bytes, and 8 bytes of insn.</p>
<p>They use and modify the size field ({size}). Normally they are used in the analyzer to get bytes of the instruction. </p><dl class="section warning"><dt>Warning</dt><dd>These methods work only for normal (8bit) byte processors! </dd></dl>
</div></td></tr>
<tr class="memitem:a30ae10001de7cd579e8c0e55c3686b7f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30ae10001de7cd579e8c0e55c3686b7f"></a>
<a class="el" href="pro_8h.html#adde6aaee8457bee49c2a92621fe22b79">uint8</a>&#160;</td><td class="memItemRight" valign="bottom"><b>get_next_byte</b> ()</td></tr>
<tr class="separator:a30ae10001de7cd579e8c0e55c3686b7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0374b7766bf0ba365aa59b77721e928"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0374b7766bf0ba365aa59b77721e928"></a>
<a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a>&#160;</td><td class="memItemRight" valign="bottom"><b>get_next_word</b> ()</td></tr>
<tr class="separator:ad0374b7766bf0ba365aa59b77721e928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab64bda1e1ff4ff6cd13b0f4308caee56"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab64bda1e1ff4ff6cd13b0f4308caee56"></a>
<a class="el" href="pro_8h.html#a1134b580f8da4de94ca6b1de4d37975e">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><b>get_next_dword</b> ()</td></tr>
<tr class="separator:ab64bda1e1ff4ff6cd13b0f4308caee56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e9a9332d689b794bf868b0cf199cf93"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e9a9332d689b794bf868b0cf199cf93"></a>
<a class="el" href="pro_8h.html#a2f5563986d7f95e4fad5876c17d9cdda">uint64</a>&#160;</td><td class="memItemRight" valign="bottom"><b>get_next_qword</b> ()</td></tr>
<tr class="separator:a5e9a9332d689b794bf868b0cf199cf93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Emulator helpers</div></td></tr>
<tr class="memitem:a4eeef9990cedde6824ad8844e0a0fe3e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a4eeef9990cedde6824ad8844e0a0fe3e">create_op_data</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea_, int opoff, op_dtype_t dtype) const </td></tr>
<tr class="memdesc:a4eeef9990cedde6824ad8844e0a0fe3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert to data using information about operand value type (<a class="el" href="classop__t.html#a9d0ea64a2929fc998bca6cebd1b91c09" title="Type of operand value (see Operand value types). ">op_t::dtype</a>).  <a href="#a4eeef9990cedde6824ad8844e0a0fe3e">More...</a><br /></td></tr>
<tr class="separator:a4eeef9990cedde6824ad8844e0a0fe3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a6078eb2b43a3632d87a41b30aaad05"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4a6078eb2b43a3632d87a41b30aaad05"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a4a6078eb2b43a3632d87a41b30aaad05">create_op_data</a> (<a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> ea_, const <a class="el" href="classop__t.html">op_t</a> &amp;op) const </td></tr>
<tr class="memdesc:a4a6078eb2b43a3632d87a41b30aaad05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenient alias. <br /></td></tr>
<tr class="separator:a4a6078eb2b43a3632d87a41b30aaad05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a472e9683a9b08934e5866320dc6b1b9e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classinsn__t.html#a472e9683a9b08934e5866320dc6b1b9e">create_stkvar</a> (const <a class="el" href="classop__t.html">op_t</a> &amp;x, <a class="el" href="pro_8h.html#ac29a387cc69c0d1abb2f2ef05dad1a6f">adiff_t</a> v, int flags_) const </td></tr>
<tr class="memdesc:a472e9683a9b08934e5866320dc6b1b9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create or modify a stack variable in the function frame.  <a href="#a472e9683a9b08934e5866320dc6b1b9e">More...</a><br /></td></tr>
<tr class="separator:a472e9683a9b08934e5866320dc6b1b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4eeef9990cedde6824ad8844e0a0fe3e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool insn_t::create_op_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a>&#160;</td>
          <td class="paramname"><em>ea_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>opoff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">op_dtype_t&#160;</td>
          <td class="paramname"><em>dtype</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert to data using information about operand value type (<a class="el" href="classop__t.html#a9d0ea64a2929fc998bca6cebd1b91c09" title="Type of operand value (see Operand value types). ">op_t::dtype</a>). </p>
<p>Emulator could use this function to convert unexplored bytes to data when an instruction references them. This function creates data only if the address was unexplored. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ea</td><td>linear address to be converted to data </td></tr>
    <tr><td class="paramname">opoff</td><td>offset of the operand from the start of instruction if the offset is unknown, then 0 </td></tr>
    <tr><td class="paramname">dtype</td><td>operand value type (from <a class="el" href="classop__t.html#a9d0ea64a2929fc998bca6cebd1b91c09" title="Type of operand value (see Operand value types). ">op_t::dtype</a>) </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>ok </td></tr>
    <tr><td class="paramname">false</td><td>failed to create data item </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a472e9683a9b08934e5866320dc6b1b9e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool insn_t::create_stkvar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classop__t.html">op_t</a> &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pro_8h.html#ac29a387cc69c0d1abb2f2ef05dad1a6f">adiff_t</a>&#160;</td>
          <td class="paramname"><em>v</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flags_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create or modify a stack variable in the function frame. </p>
<p>The emulator could use this function to create stack variables in the function frame before converting the operand to a stack variable. Please check with <a class="el" href="auto_8hpp.html#ae6467793b53cb5a2f53eaf5d9e8bcfe2" title="Is it allowed to create stack variables automatically?. ">may_create_stkvars()</a> before calling this function. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>operand (used to determine the addressing type) </td></tr>
    <tr><td class="paramname">v</td><td>a displacement in the operand </td></tr>
    <tr><td class="paramname">flags_</td><td><a class="el" href="group___s_t_k_v_a_r__2.html">Stack variable flags</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">1</td><td>ok, a stack variable exists now </td></tr>
    <tr><td class="paramname">0</td><td>no, couldn't create stack variable </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a9fbcacdc71b94dc291138591e317da01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> insn_t::ip</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Virtual address of the instruction (address within the segment). </p>
<p>Initialized by the kernel. </p>

</div>
</div>
<a class="anchor" id="a68b331560b7f026c120373ca574c2889"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a7b0aeaed04e477c02cf8ea3452002d1a">ea_t</a> insn_t::ea</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Linear address of the instruction. </p>
<p>Initialized by the kernel. </p>

</div>
</div>
<a class="anchor" id="aad5d7fad54a9394febd8ed0cda1f85f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> insn_t::itype</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Internal code of instruction (only for canonical insns - not user defined!). </p>
<p>IDP should define its own instruction codes. These codes are usually defined in ins.hpp. The array of instruction names and features (ins.cpp) is accessed using this code. </p>

</div>
</div>
<a class="anchor" id="ac3c2b72b27e268eeb2d55bdcbcdbd2b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pro_8h.html#a05f6b0ae8f6a6e135b0e290c25fe0e4e">uint16</a> insn_t::size</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Size of instruction in bytes. </p>
<p>The analyzer should put here the actual size of the instruction. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="ua_8hpp.html">ua.hpp</a></li>
<li><a class="el" href="idp_8hpp.html">idp.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
